package com.atguigu.jxc.service.impl;

import com.atguigu.jxc.dao.UnitDao;
import com.atguigu.jxc.entity.Unit;
import com.atguigu.jxc.service.UnitService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Author ONIE
 * @create 2021/11/25 8:46 下午
 */
@Service
public class UnitServiceImpl implements UnitService {
	@Autowired
	private UnitDao unitDao;
	@Override
	public List<Unit> unitList() {
		return unitDao.unitList();
	}
}
